package com.icow.wms.basic.service;

import com.icow.wms.basic.domain.LocationDomain;
import com.icow.wms.basic.domain.ProductDomain;

import java.util.List;

/**
 * LocationService接口
 *
 * @author ly
 * @date 2021-02-08
 */
public interface ILocationDomainService {

    /**
     * 查询Location
     *
     * @param id LocationID
     * @return Location
     */
    public LocationDomain selectLocationDomainById(Long id);

    /**
     * 查询Location列表
     *
     * @param LocationDomain LocationDomain
     * @return LocationDomain集合
     */
    public List<LocationDomain> selectLocationDomainList(LocationDomain LocationDomain);

    /**
     * 新增Location
     *
     * @param LocationDomain LocationDomain
     * @return 结果
     */
    public int insertLocationDomain(LocationDomain LocationDomain);

    /**
     * 修改Location
     *
     * @param LocationDomain Location
     * @return 结果
     */
    public int updateLocationDomain(LocationDomain LocationDomain);

    /**
     * 批量删除Location
     *
     * @param ids 需要删除的LocationID
     * @return 结果
     */
    public int deleteLocationDomainByIds(Long[] ids);

    /**
     * 删除Location信息
     *
     * @param id LocationID
     * @return 结果
     */
    public int deleteLocationDomainById(Long id);
}
